Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure and check shared memory automatically. #112

Merged
merged 3 commits into from
Jun 28, 2023
Merged

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Jun 27, 2023

Otherwise you run into nasty exceptions when exceeding it.

This should also make it safe to elide these checks with some @inbounds annotations.

@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Patch coverage: 66.66% and project coverage change: +2.04 🎉

Comparison is base (798e55b) 27.57% compared to head (1f195b2) 29.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #112      +/-   ##
==========================================
+ Coverage   27.57%   29.61%   +2.04%     
==========================================
  Files          11       11              
  Lines         747      763      +16     
==========================================
+ Hits          206      226      +20     
+ Misses        541      537       -4     
Impacted Files Coverage Δ
src/kernel.jl 5.30% <60.00%> (+5.30%) ⬆️
src/launch.jl 88.88% <83.33%> (-11.12%) ⬇️
src/config.jl 82.10% <100.00%> (+5.26%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@maleadt
Copy link
Member Author

maleadt commented Jun 28, 2023

Hm, I want to improve the implementation a bit here, it's not nice how the calculation is not dependent on the kernel type.
EDIT: done

@maleadt maleadt marked this pull request as draft June 28, 2023 05:42
@maleadt maleadt marked this pull request as ready for review June 28, 2023 08:30
@thomasfaingnaert thomasfaingnaert merged commit 2a6ad1d into master Jun 28, 2023
@thomasfaingnaert thomasfaingnaert deleted the tb/shmem branch June 28, 2023 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants